<?php 

	$output = "";
	
	if( isset($_SESSION['user']) && $_SESSION['user'] != "" ){
	
		switch( $page ){
			case 'roster':
				$output = "\t\t\t\t".'<div class="navblock">'."\n";
				$output.= "\t\t\t\t\t".'<p>Dienstpläne</p>'."\n";
				$output.= "\t\t\t\t\t".'<ul>'."\n";
				$output.= "\t\t\t\t\t\t".'<li><a href="index.php?page=roster&amp;module=add_roster"><span>hinzufügen</span></a></li>'."\n";
				$output.= "\t\t\t\t\t\t".'<li><a href="index.php?page=roster&amp;module=edt_roster"><span>bearbeiten</span></a></li>'."\n";
				$output.= "\t\t\t\t\t".'</ul>'."\n";
				$output.= "\t\t\t\t".'</div>'."\n";
				$output.= "\t\t\t\t".'<div class="clearfloat">&nbsp;</div>'."\n";
				break;
			case 'management':
				//JOBS
				$output = "\t\t\t\t".'<div class="navblock">'."\n";
				$output.= "\t\t\t\t\t".'<p>Tätigkeiten</p>'."\n";
				$output.= "\t\t\t\t\t".'<ul>'."\n";
				$output.= "\t\t\t\t\t\t".'<li><a href="index.php?page=management&amp;module=add_job"><span>hinzufügen</span></a></li>'."\n";
				$output.= "\t\t\t\t\t\t".'<li><a href="index.php?page=management&amp;module=edt_job"><span>bearbeiten</span></a></li>'."\n";
				$output.= "\t\t\t\t\t".'</ul>'."\n";
				$output.= "\t\t\t\t".'</div>'."\n";
				//EMPLOYEES
				$output.= "\t\t\t\t".'<div class="navblock">'."\n";
				$output.= "\t\t\t\t\t".'<p>Mitarbeiter</p>'."\n";
				$output.= "\t\t\t\t\t".'<ul>'."\n";
				$output.= "\t\t\t\t\t\t".'<li><a href="index.php?page=management&amp;module=add_employee"><span>hinzufügen</span></a></li>'."\n";
				$output.= "\t\t\t\t\t\t".'<li><a href="index.php?page=management&amp;module=edt_employee"><span>bearbeiten</span></a></li>'."\n";
				$output.= "\t\t\t\t\t".'</ul>'."\n";
				$output.= "\t\t\t\t".'</div>'."\n";
				//UNITS
				$output.= "\t\t\t\t".'<div class="navblock">'."\n";
				$output.= "\t\t\t\t\t".'<p>Stationen</p>'."\n";
				$output.= "\t\t\t\t\t".'<ul>'."\n";
				$output.= "\t\t\t\t\t\t".'<li><a href="index.php?page=management&amp;module=add_unit"><span>hinzufügen</span></a></li>'."\n";
				$output.= "\t\t\t\t\t\t".'<li><a href="index.php?page=management&amp;module=edt_unit"><span>bearbeiten</span></a></li>'."\n";
				$output.= "\t\t\t\t\t".'</ul>'."\n";
				$output.= "\t\t\t\t".'</div>'."\n";
				$output.= "\t\t\t\t".'<div class="clearfloat">&nbsp;</div>'."\n";
				break;
			case 'start':
		}
		
	}	
	
	echo $output;
?>